package org.example.struct.array;

import org.example.node.ListNode;

/**
 * @author liyishan
 * @date 2024/9/5 11:33
 * @apiNote
 */

public class M0203DeleteNode {
    public void deleteNode(ListNode node) {
        node.val = node.next.val;
        node.next = node.next.next;
    }
}
